package com.qk.server;

import com.qk.common.PageResult;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityServer {
    PageResult findActivityByList(Integer channel, Integer type, Integer status, Integer page, Integer pageSize);

    void delActivityById(Integer id);

    void addActivity(Activity activity);

    Activity findActivityById(Integer id);

    void updateActivity(Activity activity);

    List<Activity> findActivityByType(Integer type);
}
